from huggingface_hub import hf_hub_download
import os
# 设置自定义缓存路径
custom_cache_dir = '/apdcephfs_qy3/share_976139/users/xuelonggeng/ckpt/osum_echat'

# 下载文件
pt_file_path = hf_hub_download(repo_id="ASLP-lab/OSUM-EChat", filename="language_think_final.pt", cache_dir=custom_cache_dir)

print(f"File is downloaded to: {pt_file_path}")